home *** CD-ROM | disk | FTP | other *** search
- function createDebug(x,y)
- {
- var str="";
- str+='<div id="divDebug" style="position:absolute; z-index:1000; left: '+x+';top: '+y+'; visibility:show;">'
- +'<textarea id="taDebug" cols="50" rows="30">Debug:\n</textarea>'
- +'</div>';
- document.write(str);
- oDebug=new lib_obj('divDebug');
- oDebug.debug=printDebug;
- oDebug.showIt();
- return oDebug;
- }
-
- function printDebug(text)
- {
- document.all.taDebug.value+=text+"\n";
- }